<?php

class Kd_Web_Filter {

    public function __construct() {

    }

    public function filtrate() {
        array_walk_recursive($_GET, array($this, 'decodeUrl'));
//        array_walk_recursive($_POST, array($this, 'decodeUrl'));
//        array_walk_recursive($_REQUEST, array($this, 'decodeUrl'));
    }

    private function decodeUrl(&$item, $key) {
        $item = urldecode($item);
    }

}